﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.UI.Core.VievModel
{
    public class PatientTypeVm:ViewModelBase
    {
        /**
         * 主键
         */
        private String _no;
        public String no
        {
            get { return _no; }
            set
            {
                if (this._no != value)
                {
                    this._no = value;
                    OnPropertyChanged(nameof(no));
                }
            }
        }
        /**
         * 作为子级时的父级主键
         */
        private String _pNo;
        public String pNo
        {
            get { return _pNo; }
            set
            {
                if (this._pNo != value)
                {
                    this._pNo = value;
                    OnPropertyChanged(nameof(pNo));
                }
            }
        }
        /**
         * 卡片类型
         */
        private String _dictPtCardCode;
        public String dictPtCardCode
        {
            get { return _dictPtCardCode; }
            set
            {
                if (this._dictPtCardCode != value)
                {
                    this._dictPtCardCode = value;
                    OnPropertyChanged(nameof(dictPtCardCode));
                }
            }
        }
        /**
         * 医保身份组主键
         */
        private String _patientTypeGroup;
        public String patientTypeGroup
        {
            get { return _patientTypeGroup; }
            set
            {
                if (this._patientTypeGroup != value)
                {
                    this._patientTypeGroup = value;
                    OnPropertyChanged(nameof(patientTypeGroup));
                }
            }
        }
        /**
         * 欠费下线
         */
        private int? _patientFeeLimit;
        public int? patientFeeLimit
        {
            get { return _patientFeeLimit; }
            set
            {
                if (this._patientFeeLimit != value)
                {
                    this._patientFeeLimit = value;
                    OnPropertyChanged(nameof(patientFeeLimit));
                }
            }
        }
        /**
         * 编码
         */
        private String _code;
        public String code
        {
            get { return _code; }
            set
            {
                if (this._code != value)
                {
                    this._code = value;
                    OnPropertyChanged(nameof(code));
                }
            }
        }
        /**
         * 名字
         */
        private String _name;
        public String name
        {
            get { return _name; }
            set
            {
                if (this._name != value)
                {
                    this._name = value;
                    OnPropertyChanged(nameof(name));
                }
            }
        }
        /**
         * 拼音
         */
        private String _spellCode;
        public String spellCode
        {
            get { return _spellCode; }
            set
            {
                if (this._spellCode != value)
                {
                    this._spellCode = value;
                    OnPropertyChanged(nameof(spellCode));
                }
            }
        }
        /**
         * 五笔输入法
         */
        private String _wbCode;
        public String wbCode
        {
            get { return _wbCode; }
            set
            {
                if (this._wbCode != value)
                {
                    this._wbCode = value;
                    OnPropertyChanged(nameof(wbCode));
                }
            }
        }
        /**
         * 输入码
         */
        private String _inputCode;
        public String inputCode
        {
            get { return _inputCode; }
            set
            {
                if (this._inputCode != value)
                {
                    this._inputCode = value;
                    OnPropertyChanged(nameof(inputCode));
                }
            }
        }
        /**
         * 排序
         */
        private int? _sort;
        public int? sort
        {
            get { return _sort; }
            set
            {
                if (this._sort != value)
                {
                    this._sort = value;
                    OnPropertyChanged(nameof(sort));
                }
            }
        }
        /**
         * 停用标记
         */
        private int? _isDisable;
        public int? isDisable
        {
            get { return _isDisable; }
            set
            {
                if (this._isDisable != value)
                {
                    this._isDisable = value;
                    OnPropertyChanged(nameof(isDisable));
                }
            }
        }
        /**
         * 更新人
         */
        private String _updateUser;
        public String updateUser
        {
            get { return _updateUser; }
            set
            {
                if (this._updateUser != value)
                {
                    this._updateUser = value;
                    OnPropertyChanged(nameof(updateUser));
                }
            }
        }
        /**
         * 更新时间
         */
        private DateTime? _updateTime;
        public DateTime? updateTime
        {
            get { return _updateTime; }
            set
            {
                if (this._updateTime != value)
                {
                    this._updateTime = value;
                    OnPropertyChanged(nameof(updateTime));
                }
            }
        }
        /**
         * 院区
         */
        private String _zone;
        public String zone
        {
            get { return _zone; }
            set
            {
                if (this._zone != value)
                {
                    this._zone = value;
                    OnPropertyChanged(nameof(zone));
                }
            }
        }
        /**
         * 社保机构编号
         */
        private String _socialOrgNo;
        public String socialOrgNo
        {
            get { return _socialOrgNo; }
            set
            {
                if (this._socialOrgNo != value)
                {
                    this._socialOrgNo = value;
                    OnPropertyChanged(nameof(socialOrgNo));
                }
            }
        }
        /**
         * 社保机构名称
         */
        private String _socialOrgName;
        public String socialOrgName
        {
            get { return _socialOrgName; }
            set
            {
                if (this._socialOrgName != value)
                {
                    this._socialOrgName = value;
                    OnPropertyChanged(nameof(socialOrgName));
                }
            }
        }
        //    /**
        //     * 是否隐藏。1是，0否
        //     */
        //    @ApiModelProperty("是否隐藏。1是，0否")
        //    private String isHidden;
        /**
         * 接口ID
         */
        private String _interfaceId;
        public String interfaceId
        {
            get { return _interfaceId; }
            set
            {
                if (this._interfaceId != value)
                {
                    this._interfaceId = value;
                    OnPropertyChanged(nameof(interfaceId));
                }
            }
        }
        /**
         * 预交金膨胀-比例
         */
        private decimal? _depositRate;
        public decimal? depositRate
        {
            get { return _depositRate; }
            set
            {
                if (this._depositRate != value)
                {
                    this._depositRate = value;
                    OnPropertyChanged(nameof(depositRate));
                }
            }
        }

        /**
         * 贫困押金控制标志
         */
        private String _poorControlFlag;
        public String poorControlFlag
        {
            get { return _poorControlFlag; }
            set
            {
                if (this._poorControlFlag != value)
                {
                    this._poorControlFlag = value;
                    OnPropertyChanged(nameof(poorControlFlag));
                }
            }
        }
        /**
         * 自动预算标志
         */
        private String _autoPreSettledFlag;
        public String autoPreSettledFlag
        {
            get { return _autoPreSettledFlag; }
            set
            {
                if (this._autoPreSettledFlag != value)
                {
                    this._autoPreSettledFlag = value;
                    OnPropertyChanged(nameof(autoPreSettledFlag));
                }
            }
        }
    }
}
